import request from '@/utils/request'
const paylist = {
    //详情
    detail(query) {
        return request({
            url: '/com.mmk.reservation.api.AdminMmkHospitalPaidBackProvider/1.0.0/getRepaymentDetail.html',
            method: 'post',
            data: query
        })
    },
    //付款单
    payment(query) {
        return request({
            url: '/com.mmk.reservation.api.AdminMmkHospitalPaidBackProvider/1.0.0/newMmkDrawbackPayment.html',
            method: 'post',
            data: query
        })
    },
    //退款单付款记录
    refundeinfo(query) {
        return request({
            url: '/com.mmk.reservation.api.AdminMmkHospitalPaidBackProvider/1.0.0/listMmkDrawbackPayment.html',
            method: 'post',
            data: query
        })
    },
    //医院下拉
    hostlist(query) {
        return request({
            url: '/com.mmk.reservation.api.AdminHospitalProvider/1.0.0/hospitalDropDown.html',
            method: 'post',
            data: query
        })
    },
     //医院下拉
     findHospitalList(query) {
        return request({
            url: '/com.mmk.reservation.api.AdminHospitalInformationProvider/1.0.0/findHospitalList.html',
            method: 'post',
            data: query
        })
    },

         //医院下拉
         hospitalNameDown(query) {
            return request({
                url: '/com.mmk.reservation.api.AdminHospitalProvider/1.0.0/hospitalNameDown.html',
                method: 'post',
                data: query
            })
        },
    //导出
    expor(query) {
        return request({
            url: '/com.mmk.reservation.api.AdminMmkHospitalPaidBackProvider/1.0.0/export.html  ',
            method: 'post',
            data: query,
            responseType: 'blob'
        })
    }
}
export default paylist